import request from '@/utils/request'

export function fetchList(data = {}) {
  return request({
    url: '/orderSubsidies/findByPage',
    method: 'post',
    params: data
  })
}

export function getListByUser(data = {}) {
  return request({
    url: '/orderSubsidies/getListByUser',
    method: 'post',
    params: data
  })
}

export function add(data = {}) {
  return request({
    url: '/orderSubsidies/add',
    method: 'post',
    params: data
  })
}

export function update(data = {}) {
  return request({
    url: '/orderSubsidies/update',
    method: 'post',
    params: data
  })
}

export function audit(data = {}) {
  return request({
    url: '/orderSubsidies/audit',
    method: 'post',
    params: data
  })
}
